/**
 * Shopware 4.0
 * Copyright © 2012 shopware AG
 *
 * According to our dual licensing model, this program can be used either
 * under the terms of the GNU Affero General Public License, version 3,
 * or under a proprietary license.
 *
 * The texts of the GNU Affero General Public License with an additional
 * permission and of our proprietary license can be found at and
 * in the LICENSE file you have received along with this program.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 * GNU Affero General Public License for more details.
 *
 * "Shopware" is a registered trademark of shopware AG.
 * The licensing of the program under the AGPLv3 does not imply a
 * trademark license. Therefore any rights, title and interest in
 * our trademarks remain entirely with us.
 *
 * @category   Shopware
 * @package    Shopware_Styling
 * @subpackage Numberfield
 * @copyright  Copyright (c) 2012, shopware AG (http://www.shopware.de)
 * @version    $Id$
 * @author shopware AG
 */
 
table[id^=numberfield] {
	
	td.#{$prefix}form-item-body {
		display: table-cell;
	}
	
	table.#{$prefix}form-trigger-wrap tbody tr td:nth-child(2n) {
		width: 19px !important;
	}
}
table.#{$prefix}form-trigger-wrap {
		
	.#{$prefix}form-spinner-up, .#{$prefix}form-spinner-down {
		width: 20px !important;
		height: 12px !important;
		background-position: 0 0 !important;
	}

	/** Numberfield Button Up - Normal state */
	.#{$prefix}form-spinner-up {
		height: 12px !important;
		background: url("") no-repeat;
	}
	
	/** Numberfield Button Up - Hover state */
	.#{$prefix}form-spinner-up:hover {
		background: url("") no-repeat;
	}
	
	/** Numberfield Button Up - Active state */
	.#{$prefix}form-spinner-up:active {
		background: url("") no-repeat;
	}
	
	/** Numberfield Button Down - Normal state */
	.#{$prefix}form-spinner-down {
		background: url("") no-repeat;
	}
	
	/** Numberfield Button Down - Hover state */
	.#{$prefix}form-spinner-down:hover {
		background: url("") no-repeat;
	}
	
	/** Numberfield Button Down - Active state */
	.#{$prefix}form-spinner-down:active {
		background: url("") no-repeat;
	}
}

.#{$prefix}form-trigger-wrap-focus table.#{$prefix}form-trigger-wrap {

	.#{$prefix}form-spinner-up {
		background: url("") no-repeat 0 0 !important;
	}
	
	/** Numberfield Button Up - Hover state */
	.#{$prefix}form-spinner-up:hover {
		background: url("") no-repeat !important;
	}
	
	/** Numberfield Button Up - Active state */
	.#{$prefix}form-spinner-up:active {
		background: url("") no-repeat !important;
	}
	
	.#{$prefix}form-spinner-down {
		background: url("") no-repeat 0 0 !important;
	}
	
	/** Numberfield Button Down - Hover state */
	.#{$prefix}form-spinner-down:hover {
		background: url("") no-repeat !important;
	}
	
	/** Numberfield Button Down - Active state */
	.#{$prefix}form-spinner-down:active {
		background: url("") no-repeat !important;
	}
}